package com.easychat.entity.enums;

import org.springframework.data.redis.core.RedisTemplate;

public enum OnlineTypeEnum {
    ON(1, "在线"),
    OFF(0, "离线");

    private Integer type;//在线类型
    private String description;//描述

    OnlineTypeEnum(Integer type, String description) {
        this.type = type;
        this.description = description;
    }

    public Integer getType() {
        return type;
    }

    public String getDescription() {
        return description;
    }
}

